package MySocket;

import java.io.IOException;
import java.net.Socket;

public class MyClient2 {
    public static void main(String[] args) {
        try(Socket socket = new Socket("192.168.250.100", 10086)){
            System.out.println("已连接客户端");
        }catch (IOException e){
            System.out.println("服务端连接不上");
            e.printStackTrace();
        }
    }
}
